import request from '@/utils/request'

export function getLoginUsers(data) {
  return request({
    url: '/uaa/admin/get_login_users',
    method: 'post',
    data
  })
}

export function chooseLoginUser(data) {
  return request({
    url: '/uaa/admin/choose_login_user',
    method: 'post',
    data
  })
}



export function getAuthUserList(data) {
  return request({
    url: '/uaa/manage/user_wechat_auth/user_list',
    header: {},
    method: 'post',
    data
  })
}

export function commitLoginUser(data) {
  return request({
    url: '/uaa/manage/user_wechat_auth/commit_user',
    method: 'post',
    data
  })
}

export function getUserInfo(data) {
  return request({
    url: 'uaa/admin/user_wechat_auth/scanCode',
    method: 'post',
    data: data
  })
}

export function scanVerify(data) {
  return request({
    url: 'uaa/admin/user_wechat_auth/scanVerify',
    method: 'post',
    data
  })
}
